﻿<Controls:ChildWindow x:Class="BrasilFramework.Controle.Silverlight.Mensagem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                      xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" Width="450" Height="300" KeyDown="ChildWindow_KeyDown">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="35"/>
        </Grid.RowDefinitions>
        <Border Background="White" CornerRadius="5" Padding="5" BorderBrush="Black" BorderThickness="1">
            <toolkit:DockPanel>
                <Image x:Name="imgMensagem" toolkit:DockPanel.Dock="Left" Margin="20,10,20,0" Width="50" Height="50" VerticalAlignment="Top"/>
                <toolkit:Expander  toolkit:DockPanel.Dock="Bottom" Foreground="Black" Name="expDetalhe" ExpandDirection="Down">
                    <TextBox Padding="2" BorderThickness="0" x:Name="txtDetalhe" VerticalScrollBarVisibility="Auto" IsReadOnly="True" Text="Detalhe" TextWrapping="Wrap" />
                </toolkit:Expander>
                <TextBox Grid.Column="1" Padding="5" BorderThickness="0" x:Name="txtMensagem" IsReadOnly="True" Text="Mensagem" TextWrapping="Wrap" />
            </toolkit:DockPanel>
        </Border>
        <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button x:Name="btnA" Content="A"  Margin="5,5" Width="80" Height="25" TabIndex="0" />
            <Button x:Name="btnB" Content="B" Width="80" Height="25" TabIndex="1" />
        </StackPanel>
    </Grid>
</Controls:ChildWindow>
